git status => check the repostory for any changes need to be commit and or not saved/ staging area 
git diff => show the differences made

output
diff --git a/report.txt b/report.txt          (a is the first version , b is the second)
index e713b17..4c0742a 100644                  (index line with keys)
--- a/report.txt                               (removed lines)
+++ b/report.txt                               (added lines) 
@@ -1,4 +1,4 @@                                ( which lines edited -> 1 to 4)
-# Seasonal Dental Surgeries 2017-18           (deleted line)
+# Seasonal Dental Surgeries (2017) 2017-18     (dded line)

 TODO: write executive summary.

git add filename (ADD files to the staging area)
git commit (commit files)
git commit -m "message" (+message)

git log (History of changes commits defines by hashes)
git log path

git show hash(show a specific commit)
git show HEAD~#
git annotate file(detalils of changes +more like git log or show)

git branch (show all branches)
git checkout (switch branch)
git checkout -b branch (create branch)
git merge source des (merge branches)

git rm filename (remove file)


git diff ID1..ID2
git diff HEAD~#..HEAD~#

.gitignore (file saves the names of unwanted files in the root dir)

git clean -n (show unwanted files)
git clean -f (delete them)
 
git config --system|global|local prop(user.email|user.name) name|email

git checkout -- filename (to undo changes to were i begin )
git reset HEAD filename (undo to prev most resent change)
git checkout hash filename (restore file to a specific commit)

git reset HEAD dir (undo staging)

git init proj-name (create a repostory)
git init |path (copy proj to rep)

git clone URL
git remote 

git pull remotename branch (get changes and merge them)
git push remotename branch